package com.dj.mingkong.portal.biz.enums;

/**
 * 消息状态枚举
 *
 * @author zenglonghui
 * @date: 2023/6/20 16:10
 */
public enum MessageStatusEnum {
    UNREAD(0, "未读"),
    READ(1, "已读"),
    RECALL(2, "撤回");

    private Integer intVal;
    private String desc;

    MessageStatusEnum(Integer intVal, String desc) {
        this.intVal = intVal;
        this.desc = desc;
    }

    public Integer getIntVal() {
        return intVal;
    }

    public String getDesc() {
        return desc;
    }

    public boolean equalsIntVal(Integer intVal) {
        return this.intVal.equals(intVal);
    }
}
